package customer.zspt.cn.customer.Widget;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;

/**
 * Created by Administrator on 2018/8/24 0024.
 */

public class GroupGridView extends GridView {
    public GroupGridView(Context context) {
        super(context);
    }
    public GroupGridView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public GroupGridView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        int measureSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE>>2,MeasureSpec.AT_MOST);
        super.onMeasure(widthMeasureSpec, measureSpec);
    }
}
